/**
 * 
 */
package sh.t2.share.module.mail;

import java.util.ArrayList;
import java.util.List;

/**
 * 
 */
public interface MailApiProtocol {

	//发送系统邮件
	public static class MailToGameRequest {
		public long id;
		public String title;
		public String content;
		public List<MailAttachment> rewards = new ArrayList<>();
		public int type;
		public String playerIds;
	}
	public static class MailToGameResponse {}
	
	
	//删除系统邮件
	public static class MailSysDeleteRequest {
		public long mailSystemId;
	}
	public static class MailSysDeleteResponse {
	}
	
	
	//查询玩家邮件
	public static class MailQueryPlayerRequest {
		public long playerId;
	}
	public static class MailQueryPlayerResponse {
		public List<MailData> datas = new ArrayList<>();
	}
	
	//删除玩家邮件
	public static class MailDeletePlayerRequest {
		public long playerId;
		public long mailId;
	}
	public static class MailDeletePlayerResponse {
	}
}
